import instances from '@/api/http.js';

/**
 * x物料信息
 */
export function getStatisticalAlarmByDay(data) {
  return instances({
    url: '/statisticalAlarmByDay/findByRecent?days='+data,
    method: 'get',
    data: data
  })
}


export function getStatisticalResourcePerHourByDay(data) {
    return instances({
      url: '/statisticalResourcePerHourByDay/findByYesterday',
      method: 'get',
      data: data
    })
  }
  
  
